import type { Request, Response } from 'express';

export default {
  // 首页-政策公告-通知公告
  'GET /portal/findNewByTitle': {
    results: [
      {
        id: 1,
        isNew: '01',
        title: '小册子解决企业“大烦恼”，他们把重点政策摆上服务窗口',
        publishTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 2,
        isNew: '01',
        title: '有呼必应，一本小册子解决企业烦恼',
        publishTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 3,
        isNew: '01',
        title: '关于开展武汉经开区创业人才年度评价与资格中期复核工作的通知',
        publishTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 4,
        isNew: '02',
        title: '关于开展2021年度经开区产业领军人才（杰出领军人才）评定申报工作的通知',
        publishTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 5,
        isNew: '02',
        title: '小册子解决企业“大烦恼”，他们把重点政策摆上服务窗口',
        publishTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 6,
        isNew: '02',
        title: '有呼必应，一本小册子解决企业烦恼',
        publishTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 7,
        isNew: '02',
        title: '关于开展武汉经开区创业人才年度评价与资格中期复核工作的通知',
        publishTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 8,
        isNew: '02',
        title: '关于开展2021年度经开区产业领军人才（杰出领军人才）评定申报工作的通知',
        publishTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
    ],
    page: 0,
    size: 1,
    totalCount: 1,
    totalPages: 1,
    errorCode: 0,
    errorMsg: null,
  },
  // 首页-政策公告-最新政策
  'GET /portal/getPolicyInfoForFrontPage': {
    results: [
      {
        id: 1,
        isNew: true,
        title: '小册子解决企业“大烦恼”，他们把重点政策摆上服务窗口',
        releaseTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 2,
        isNew: true,
        title: '有呼必应，一本小册子解决企业烦恼',
        releaseTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 3,
        isNew: true,
        title: '关于开展武汉经开区创业人才年度评价与资格中期复核工作的通知',
        releaseTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 4,
        isNew: false,
        title: '关于开展2021年度经开区产业领军人才（杰出领军人才）评定申报工作的通知',
        releaseTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 5,
        isNew: false,
        title: '小册子解决企业“大烦恼”，他们把重点政策摆上服务窗口',
        releaseTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 6,
        isNew: false,
        title: '有呼必应，一本小册子解决企业烦恼',
        releaseTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 7,
        isNew: false,
        title: '关于开展武汉经开区创业人才年度评价与资格中期复核工作的通知',
        releaseTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
      {
        id: 8,
        isNew: false,
        title: '关于开展2021年度经开区产业领军人才（杰出领军人才）评定申报工作的通知',
        releaseTime: '2021-07-06',
        contentLink: 'https://ant.design',
      },
    ],
    page: 0,
    size: 1,
    totalCount: 1,
    totalPages: 1,
    errorCode: 0,
    errorMsg: null,
  },

  // 首页-热门新闻
  'GET /portal/findHotNew': {
    results: [
      {
        id: 1,
        title: '1小册子解决企业“大烦恼”，他们把重点政策摆上服务窗口',
        date: '2021-07-06',
        content:
          '各有关单位：为鼓励和支持设站单位招收博士后研究人员，促进博士后研究人员顺利开展科研工作，根据《武汉经济技术》开发区博各有关单位：为鼓励和支持设站单位招收博士后研究人员，促进博士后研究人员顺利开展科研工作，根据《武汉经济技术》开发区博',
      },
      {
        id: 2,
        title: '2小册子解决企业“大烦恼”，他们把重点政策摆上服务窗口',
        date: '2021-07-06',
        content:
          '各有关单位：为鼓励和支持设站单位招收博士后研究人员，促进博士后研究人员顺利开展科研工作，根据《武汉经济技术》开发区博各有关单位：为鼓励和支持设站单位招收博士后研究人员，促进博士后研究人员顺利开展科研工作，根据《武汉经济技术》开发区博',
      },
      {
        id: 3,
        title: '3小册子解决企业“大烦恼”，他们把重点政策摆上服务窗口',
        date: '2021-07-06',
        content:
          '各有关单位：为鼓励和支持设站单位招收博士后研究人员，促进博士后研究人员顺利开展科研工作，根据《武汉经济技术》开发区博各有关单位：为鼓励和支持设站单位招收博士后研究人员，促进博士后研究人员顺利开展科研工作，根据《武汉经济技术》开发区博',
      },
    ],
  },

  // 首页-在线申请
  'POST /portal/findMatterByCondition': async (req: Request, res: Response) => {
    res.send({
      results: [
        {
          id: 1,
          orgName: '商务局',
          title: '总部经济新项目企业人才奖（总部经济10条2.0）',
        },
        {
          id: 2,
          orgName: '发改局',
          title: '新项目落户奖励',
        },
        {
          id: 3,
          orgName: '商务局',
          title: '现代服务业新项目企业人才奖（现代服务业10条2.0）',
        },
        {
          id: 4,
          orgName: '科经局',
          title: '工业厂房租赁奖励',
        },
        {
          id: 5,
          orgName: '投资促进局',
          title: '新落户服务业构建自用办公用房奖励',
        },
        {
          id: 6,
          orgName: '投资促进局',
          title: '总部紧急新项目经营贡献奖（总部经济10条1.0）',
        },
        {
          id: 7,
          orgName: '商务局',
          title: '现代服务业新项目企业人才奖（现代服务业10条2.0）',
        },
        {
          id: 8,
          orgName: '科经局',
          title: '工业厂房租赁奖励',
        },
        {
          id: 9,
          orgName: '投资促进局',
          title: '新落户服务业构建自用办公用房奖励',
        },
        {
          id: 10,
          orgName: '投资促进局',
          title: '总部紧急新项目经营贡献奖（总部经济10条1.0）',
        },
        {
          id: 11,
          orgName: '商务局',
          title: '现代服务业新项目企业人才奖（现代服务业10条2.0）',
        },
        {
          id: 12,
          orgName: '科经局',
          title: '工业厂房租赁奖励',
        },
      ],
      page: 0,
      size: 1,
      totalCount: 12,
      totalPages: 2,
      errorCode: 0,
      errorMsg: null,
    });
  },
  // 首页-结果公示
  'GET /portal/getPolicyInfoApplyMatterByCondition': {
    results: [
      {
        id: 1,
        applyNo: 'KC20210709-001',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 2,
        applyNo: 'KC20210709-002',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 3,
        applyNo: 'KC20210709-003',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 4,
        applyNo: 'KC20210709-004',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 5,
        applyNo: 'KC20210709-005',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 6,
        applyNo: 'KC20210709-006',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 7,
        applyNo: 'KC20210709-007',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 8,
        applyNo: 'KC20210709-008',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 9,
        applyNo: 'KC20210709-009',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 10,
        applyNo: 'KC20210709-010',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 11,
        applyNo: 'KC20210709-011',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 12,
        applyNo: 'KC20210709-012',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
    ],
    page: 0,
    size: 1,
    totalCount: 12,
    totalPages: 2,
    errorCode: 0,
    errorMsg: null,
  },
  // 首页-结果公示
  'GET /portal/AppealQuery': {
    results: [
      {
        id: 1,
        applicationNo: 'KC20210709-001',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 2,
        applicationNo: 'KC20210709-002',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 3,
        applicationNo: 'KC20210709-003',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 4,
        applicationNo: 'KC20210709-004',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 5,
        applicationNo: 'KC20210709-005',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 6,
        applicationNo: 'KC20210709-006',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 7,
        applicationNo: 'KC20210709-007',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 8,
        applicationNo: 'KC20210709-008',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 9,
        applicationNo: 'KC20210709-009',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 10,
        applicationNo: 'KC20210709-010',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 11,
        applicationNo: 'KC20210709-011',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
      {
        id: 12,
        applicationNo: 'KC20210709-012',
        applicationDate: '2021-04-20 09:35:14',
        handleStatusTitle: '已拨付',
        handleDate: '2021-04-20 09:35:14',
      },
    ],
    page: 0,
    size: 1,
    totalCount: 12,
    totalPages: 2,
    errorCode: 0,
    errorMsg: null,
  },
};
